<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class Dir | sweetphp</title>

	<script type="text/javascript" src="resources/combined.js?2802521858"></script>
	<script type="text/javascript" src="elementlist.js?3776638906"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li class="active"><a href="package-SweetPHP.html">SweetPHP<span></span></a>
						<ul>
				<li class="active"><a href="package-SweetPHP.System.html">System<span></span></a>
						<ul>
				<li><a href="package-SweetPHP.System.Core.html">Core</a>
						</li>
				<li><a href="package-SweetPHP.System.Test.html">Test</a>
						</li>
				<li class="active"><a href="package-SweetPHP.System.Utility.html">Utility</a>
						</li>
							</ul></li></ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-DataParam.html">DataParam</a></li>
				<li><a href="class-DateNow.html">DateNow</a></li>
				<li class="active"><a href="class-Dir.html">Dir</a></li>
				<li><a href="class-Float.html">Float</a></li>
				<li><a href="class-Form.html">Form</a></li>
				<li><a href="class-Helpers.html">Helpers</a></li>
				<li><a href="class-InputText.html">InputText</a></li>
				<li><a href="class-Integer.html">Integer</a></li>
				<li><a href="class-Logger.html">Logger</a></li>
				<li><a href="class-Mask.html">Mask</a></li>
				<li><a href="class-SEO.html">SEO</a></li>
				<li><a href="class-Session.html">Session</a></li>
				<li><a href="class-String.html">String</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-SweetPHP.System.Utility.html" title="Summary of SweetPHP\System\Utility"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Dir</h1>


	<div class="description">
	SweetPHP<br />

<p><b>Dir</b></p>

<p>Cria, altera e excluir diretorios</p>
<br />

	</div>









	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-SweetPHP.html">SweetPHP</a>\<a href="package-SweetPHP.System.html">System</a>\<a href="package-SweetPHP.System.Utility.html">Utility</a><br />

				<b>Copyright:</b>
				Copyright (c) 2013 - 2014, Ilines.<br />
				<b>Author:</b>
				sweetphp<br />
		<b>Located at</b> <a href="source-class-Dir.html#3-168" title="Go to source code">libs/system/utility/Dir.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="stringToDirMD5" id="_stringToDirMD5">

		<td class="attributes"><code>
			 public static
			<code><a href="class-Dir.html#_rename">Dir::rename()</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_stringToDirMD5">#</a>
		<code><a href="source-class-Dir.html#20-31" title="Go to source code">stringToDirMD5</a>( <span>mixed <var>$string</var> = <span class="php-quote">&quot;&quot;</span></span> )</code>

		<div class="description short">
			
<p>Cria diret�rio e remove caracteres especiais -</p>

		</div>

		<div class="description detailed hidden">
			
<p>Cria diret�rio e remove caracteres especiais -</p>




				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-Dir.html#_rename">Dir::rename()</a></code></code><br>(md5) dir<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="create" id="_create">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_create">#</a>
		<code><a href="source-class-Dir.html#33-51" title="Go to source code">create</a>( <span>mixed <var>$location</var> = <span class="php-quote">&quot;&quot;</span></span>, <span>mixed <var>$name</var> = <span class="php-quote">&quot;&quot;</span></span>, <span>mixed <var>$chmod</var> = <span class="php-num">0777</span></span>, <span>mixed <var>$recursive</var> = <span class="php-keyword1">true</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="delete" id="_delete">

		<td class="attributes"><code>
			 public static
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_delete">#</a>
		<code><a href="source-class-Dir.html#53-71" title="Go to source code">delete</a>( <span>mixed <var>$location</var> = <span class="php-quote">&quot;&quot;</span></span>, <span>mixed <var>$name</var> = <span class="php-quote">&quot;&quot;</span></span> )</code>

		<div class="description short">
			
<p>Delete</p>

		</div>

		<div class="description detailed hidden">
			
<p>Delete</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$location</var></dt>
					<dd><code>mixed</code><br>$location - where?</dd>
					<dt><var>$name</var></dt>
					<dd><code>mixed</code><br>$name - name. Warning for use special chars</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br>&lt;true / false&gt;<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="rename" id="_rename">

		<td class="attributes"><code>
			 public static
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_rename">#</a>
		<code><a href="source-class-Dir.html#73-93" title="Go to source code">rename</a>( <span>mixed <var>$location</var> = <span class="php-quote">&quot;&quot;</span></span>, <span>mixed <var>$oldName</var> = <span class="php-quote">&quot;&quot;</span></span>, <span>mixed <var>$newName</var> = <span class="php-quote">&quot;&quot;</span></span> )</code>

		<div class="description short">
			
<p>Renema Direcory</p>

		</div>

		<div class="description detailed hidden">
			
<p>Renema Direcory</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$location</var></dt>
					<dd><code>mixed</code><br>$location - where</dd>
					<dt><var>$oldName</var></dt>
					<dd><code>mixed</code><br>$oldname - old name</dd>
					<dt><var>$newName</var></dt>
					<dd><code>mixed</code><br>$newname - new name</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br>&lt;true / false&gt;<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="listDirectoryFiles" id="_listDirectoryFiles">

		<td class="attributes"><code>
			 public 
			list
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_listDirectoryFiles">#</a>
		<code><a href="source-class-Dir.html#95-125" title="Go to source code">listDirectoryFiles</a>( <span>mixed <var>$dir</var> = <span class="php-quote">&quot;&quot;</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					<code>list</code><br>of files this directory current<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="deleteAllDir" id="_deleteAllDir">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_deleteAllDir">#</a>
		<code><a href="source-class-Dir.html#127-136" title="Go to source code">deleteAllDir</a>( <span>mixed <var>$dir</var> = <span class="php-quote">&quot;&quot;</span></span>, <span>mixed <var>$path</var> = <span class="php-quote">&quot;&quot;</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="deleteAllDirs" id="_deleteAllDirs">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_deleteAllDirs">#</a>
		<code><a href="source-class-Dir.html#138-166" title="Go to source code">deleteAllDirs</a>( <span>mixed <var>$path</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	</table>












	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="location" id="$location">
		<td class="attributes"><code>
			public  
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-Dir.html#14" title="Go to source code"><var>$location</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$location" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="name" id="$name">
		<td class="attributes"><code>
			public  
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-Dir.html#15" title="Go to source code"><var>$name</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$name" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="chmod" id="$chmod">
		<td class="attributes"><code>
			public  
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-Dir.html#16" title="Go to source code"><var>$chmod</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$chmod" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="recursive" id="$recursive">
		<td class="attributes"><code>
			public  
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-Dir.html#17" title="Go to source code"><var>$recursive</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$recursive" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="path" id="$path">
		<td class="attributes"><code>
			public  
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-Dir.html#18" title="Go to source code"><var>$path</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$path" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	</table>






</div>

	<div id="footer">
		sweetphp API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
